<template>
	<view>
		<!-- 商品列表 -->
		<view style="display: flex;flex-wrap:wrap;padding: 30rpx;justify-content: space-between;">
			<view style="width: 320rpx;margin-bottom: 15rpx;" v-for="(item,index) in lists" :key="index">
				<goods-block :info="item" @kanjia="kanjia(item,index)" @onClick="browseClick(item,index)"
					:icode='icode'></goods-block>
			</view>
		</view>
		<fu-empty-ui v-if="lists.length == 0"></fu-empty-ui>
		<uni-load-more :status="status" v-if="lists.length > 5"></uni-load-more>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				id:'',
				typeId: 0,
				status: 'more',
				page: 1,
				size: 10,
				lists: [],
				isInit: false,
				goods_type: 0,
				goodsList: [],
			}
		},
		onLoad(e) {
			this.id = e.id
			console.log(e)
		}
	}
</script>

<style lang="scss">

</style>